package com.neusoft.elmboot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = {
        "com.neusoft.elmboot.controller",
        "com.neusoft.elmboot.service",
        "com.neusoft.elmboot.mapper"
})
@MapperScan("com.neusoft.elmboot.mapper")   // MyBatis 接口扫描
public class ElmbootApplication {

    public static void main(String[] args) {
        SpringApplication.run(ElmbootApplication.class, args);
    }
}